﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.plaf.basic.icon {
    import flash.display.*;
    import org.aswing.*;
    import org.aswing.graphics.*;

    public class FrameCloseIcon extends FrameIcon {

        override public function updateIconImp(_arg1:StyleResult, _arg2:Graphics2D, _arg3:int, _arg4:int):void{
            var _local5 = 5;
            var _local6:int = ((width - 1) - (_local5 * 2));
            var _local7:int = ((height - 1) - (_local5 * 2));
            var _local8:int = (_arg3 + _local5);
            var _local9:int = (_arg4 + _local5);
            var _local10:ASColor = _arg1.bdark;
            var _local11:Pen = new Pen(_local10, 2, true, "normal", CapsStyle.ROUND);
            _arg2.drawLine(_local11, _local8, _local9, (_local8 + _local6), (_local9 + _local7));
            _arg2.drawLine(_local11, (_local8 + _local6), _local9, _local8, (_local9 + _local7));
        }

    }
}//package org.aswing.plaf.basic.icon 
